package com.hys.rest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.hys.rabbitmq.send.Sender;

@RestController
@RequestMapping(value="/rabbit")
public class Rest {

	@Autowired
	private Sender send;
	
	@RequestMapping(value="/send")
	public void send(){
		send.send();
	}
}
